
import { Repository } from "typeorm";
import { PostEntity } from "../Entity/post.entity";
import { CustomRepositoryDecorator } from "src/database/decorator/repository.decorator";



@CustomRepositoryDecorator(PostEntity)
 export class PostRepository extends  Repository<PostEntity>{
    buildBaseQB(){
        return this.createQueryBuilder('post')
    }
}